package com.yuzou.十月赛克;

import java.util.Scanner;

public class 买铅笔 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int sum = sc.nextInt();
        int[] pencil = new int[3];
        int[] money = new int[3];
        for(int i = 0;i <3; i++){
            int a = sc.nextInt();
            int b = sc.nextInt();
            pencil[i] = a;
            money[i] = b;
        }

    }
}
